package com.ruoyi.lmisBaseManage.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 笼位管理对象 lmis_cage
 * 
 * @author wj
 * @date 2025-08-13
 */
public class LmisCage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 笼位ID */
    private Long cageId;

    /** 笼架ID */
    @Excel(name = "笼架ID")
    private Long cageRackId;

    /** 在笼动物ID */
    @Excel(name = "在笼动物ID")
    private Long animalId;

    /** 在笼数量 */
    @Excel(name = "在笼数量")
    private Long animalNum;

    /** 所属人员 */
    @Excel(name = "所属人员")
    private Long manId;

    /** 所属实验 */
    @Excel(name = "所属实验")
    private Long exId;

    /** 笼位类型 */
    @Excel(name = "笼位类型")
    private Long cageTypeId;

    /** 笼位规格（尺寸） */
    @Excel(name = "笼位规格", readConverterExp = "尺=寸")
    private String cageSize;

    /** 笼位位置（如 Row1-Col3） */
    @Excel(name = "笼位位置", readConverterExp = "如=,R=ow1-Col3")
    private String position;

    /** 生物安全等级（1-4 级） */
    @Excel(name = "生物安全等级", readConverterExp = "1=-4,级=")
    private Long safetyLevel;

    /** 笼位状态 */
    @Excel(name = "笼位状态")
    private Long cageStatus;

    /** 部门状态（0正常 1停用 */
    @Excel(name = "部门状态", readConverterExp = "部门状态（0正常 1停用")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setCageId(Long cageId) 
    {
        this.cageId = cageId;
    }

    public Long getCageId() 
    {
        return cageId;
    }

    public void setCageRackId(Long cageRackId) 
    {
        this.cageRackId = cageRackId;
    }

    public Long getCageRackId() 
    {
        return cageRackId;
    }

    public void setAnimalId(Long animalId) 
    {
        this.animalId = animalId;
    }

    public Long getAnimalId() 
    {
        return animalId;
    }

    public void setAnimalNum(Long animalNum) 
    {
        this.animalNum = animalNum;
    }

    public Long getAnimalNum() 
    {
        return animalNum;
    }

    public void setManId(Long manId) 
    {
        this.manId = manId;
    }

    public Long getManId() 
    {
        return manId;
    }

    public void setExId(Long exId) 
    {
        this.exId = exId;
    }

    public Long getExId() 
    {
        return exId;
    }

    public void setCageTypeId(Long cageTypeId) 
    {
        this.cageTypeId = cageTypeId;
    }

    public Long getCageTypeId() 
    {
        return cageTypeId;
    }

    public void setCageSize(String cageSize) 
    {
        this.cageSize = cageSize;
    }

    public String getCageSize() 
    {
        return cageSize;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setSafetyLevel(Long safetyLevel) 
    {
        this.safetyLevel = safetyLevel;
    }

    public Long getSafetyLevel() 
    {
        return safetyLevel;
    }

    public void setCageStatus(Long cageStatus) 
    {
        this.cageStatus = cageStatus;
    }

    public Long getCageStatus() 
    {
        return cageStatus;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cageId", getCageId())
            .append("cageRackId", getCageRackId())
            .append("animalId", getAnimalId())
            .append("animalNum", getAnimalNum())
            .append("manId", getManId())
            .append("exId", getExId())
            .append("cageTypeId", getCageTypeId())
            .append("cageSize", getCageSize())
            .append("position", getPosition())
            .append("safetyLevel", getSafetyLevel())
            .append("cageStatus", getCageStatus())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
